#include <iostream>
using namespace std;
void modifyarray( int b[], int size){
     for ( int i = 0; i < size; i++) b[i]++;
     }
void modifyelement ( int b){
     b++;
     }
int main(){
    const int size = 5;
    int array[size] = {1, 2, 3, 4, 5};
    for (int i = 0; i < size; i++){
        cout << array[i];
        }
    cout << endl; 
    modifyarray ( array, size);
    for (int i = 0; i < size; i++){
        cout << array[i];
        }
    cout << endl;
    modifyelement ( array[0]);
    for (int i = 0; i < size; i++){
        cout << array[i];
        }
    cout << endl;
    system("pause");
    return 0;
} 
